package com.atguigu.orderservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-edu")
public interface EduClient {
    @GetMapping(value = "/eduservice/front/course/getDto/{courseId}")
    com.atguigu.servicebase.vo.ordervo.CourseWebVo getCourseInfoDto(
            @PathVariable String courseId);
}
